package com.emergency.evaluate.controller;

import com.emergency.common.entity.Result;
import com.emergency.common.entity.StatusCode;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lijie on 2019/10/23.
 */
@RestController
@RequestMapping("/track")
@Api(value="演练轨迹回顾类",description = "回顾演练所有影像、文件资料等，提取有用数据")
public class TrackController {

    @ApiOperation(value = "轨迹列表接口" ,  notes="轨迹列表数据提取")
    @RequestMapping(value = "list",method = RequestMethod.POST)
    public Result list(){
        return new Result(true, StatusCode.OK,  "操作成功", "");
    }

    @ApiOperation(value = "演练基本信息接口" ,  notes="演练基本信息，可以从指挥系统获取")
    @RequestMapping(value = "info",method = RequestMethod.POST)
    public Result info(){
        return new Result(true, StatusCode.OK,  "操作成功", "");
    }

    @ApiOperation(value = "演练轨迹查看接口" ,  notes="选取轨迹，查看视频或文件")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "轨迹id", required = true, paramType = "query", dataType = "String"),
    })
    @RequestMapping(value = "show",method = RequestMethod.POST)
    public Result show(String id){
        return new Result(true, StatusCode.OK,  "操作成功", "");
    }
}
